package com.bytech.article.biz.mapper.article;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.bytech.common.annotation.MyBatisRepository;
import com.bytech.common.biz.entity.article.Article;
import com.bytech.common.biz.entity.article.ArticleDto;
import com.bytech.common.biz.entity.article.ArticleQuery;
import com.bytech.common.biz.mapper.base.MyBatisBaseMapper;

/**
 * @Author Zhao
 * @Create 2021-07-26
 */
@MyBatisRepository
public interface ArticleMapper extends MyBatisBaseMapper<Article> {

    List<ArticleDto> selectWithQuery(@Param("query") ArticleQuery<Article> query);

}
